import java.io.*;

public class IrregularVerbs {

    public static String readLine() throws IOException, NumberFormatException {

	String line;

	BufferedReader entree = new BufferedReader(new InputStreamReader(System.in));
	line = entree.readLine();
	
	return line;
    }

    public static void main(String[] args) throws IOException, NumberFormatException {

	String tab[][] = {{"être", "be", "was/were", "been"},
			  {"battre", "beat", "beat", "beaten"}};

	System.out.println ("La taille du tableau est de : " + tab[0].length);

	for (int i = 0; i < tab.length; i++) {
	    System.out.println(tab[i][0]);	    

	    for (int j = 1; j < tab[i].length; j++) {
		String str = readLine();
		System.out.println(str.equals(tab[i][j]));
	    }
	    //System.out.println();
	}
	
	System.exit(0);	
    }
    
}